package com.rivulet.foreign.service;

import com.rivulet.foreign.pojo.Message;
import com.rivulet.foreign.tools.Results;

/**
 * {留言板功能接口}
 *
 * @author xujiac
 * @create 2021/6/3
 * @since 1.0.0
 */
public interface MessageService {
    /**
     * 获得所有留言
     *
     * @return
     */
    public Results getAllMessage();

    /**
     * 添加留言
     *
     * @param message
     * @return
     */
    public Results setMessage(Message message);
}
